Add Method (KeyValuePair)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a key-value pair to the collection. The value part of the pair must be a collection of values to associate with the key. If values are already associated with the given key, the new values are added to the ones associated with that key.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override void Add(
	KeyValuePair<TKey, ICollection<TValue>> item
)
Visual Basic (Declaration)
Public Overrides Sub Add ( _
	item As KeyValuePair(Of TKey, ICollection(Of TValue)) _
)
Visual C++
public:
virtual void Add (
	KeyValuePair<TKey, ICollection<TValue>^> item
) override

Parameters

item
KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>
A KeyValuePair contains the Key and Value collection to add.

See Also